﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NMF.Languages.DataModel.Events;

namespace NMF.Languages.DataModel
{
    public interface INotificationProperty : IProperty
    {
        event EventHandler<InstanceEventArgs> PropertyChanged;
    }

    public interface INotificationCollectionProperty : ICollectionProperty
    {
        event EventHandler<InstanceCollectionActionEventArgs> ItemAdded;
        event EventHandler<InstanceCollectionActionEventArgs> ItemRemoved;
        event EventHandler<InstanceEventArgs> ItemsCleared;
    }
}
